package com.ant.collect.service;

import com.ant.collect.dto.MaterialDto;
import com.ant.collect.pojo.Material;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzd
 * @since 2025-10-31
 */
public interface IMaterialService extends IService<Material> {

    List<Material> listById(Integer id);

    Material saveMaterial(MaterialDto dto);

    Map<String, Object> queryPageList(MaterialDto dto);

    Map<String, Object> findListCompanyIdPage(MaterialDto dto);

    void findApproved(Integer id,Integer status);

    Material findMaterialDetails(Integer id);
}
